package hutool;

import cn.hutool.core.io.resource.ResourceUtil;

/**
 * @Author: DRevelation
 * @Date: 2021/4/26 17:18
 */
public class ResourceUtilDemo {
    public static void main(String[] args) {
        String utf8Str = ResourceUtil.getResourceObj("https://www.baidu.com/").readUtf8Str();
        System.out.println("utf8Str = " + utf8Str);
    }
}
